package com.jie.component.mongo.core;

import com.jie.component.mongo.base.MongoDocument;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
public abstract class AbstractDocument implements MongoDocument {
    @Id
    private String id;
    
    @Field("create_time")
    private Long createTime;
    
    @Field("update_time")
    private Long updateTime;
}